package com.scm.service;

import com.scm.dao.UserModelMapper;
import com.scm.pojo.UserModel;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ClassName UserModelService
 * @Description TODO
 * @Author Xu
 * @Date 2021/7/6 0:20
 * @Version 1.0
 **/
@Service
public class UserModelService implements UserModelMapper {

    @Resource
    private  UserModelMapper userModelMapper;
    @Override
    public List<UserModel> getUserModel(String account) {
        return userModelMapper.getUserModel(account);
    }

    @Override
    public void addModel(UserModel userModel) {
        userModelMapper.addModel(userModel);
    }

    @Override
    public void deleteModel(String account) {
        userModelMapper.deleteModel(account);
    }
}
